*** Settings ***
Documentation    租号玩商户软件接口自动化测试用例
Library          database_lib.testdb.TestDataBaseLibrary
Library          comm_lib.CommLibrary
Library          init_lib.InitDataLibrary
Resource         suites/resource.robot
Test Teardown    log response info

*** Test Cases ***
buisness_001
    [Tags]  用户管理
    [Documentation]  登录
    ${time} =  get time stamp
    When login  ${time}

buisness_002
    [Tags]  用户管理
    [Documentation]  连续撤单消息提醒
    ${time} =  get time stamp
    ${token} =  parse resp json  token
    update test data req json by name  getTsMessage  token=${token}
    When getTsMessage  ${time}
    set suite variable  ${token}

buisness_003
    [Tags]  站内信
    [Documentation]  系统消息数量
    ${time} =  get time stamp
    update test data req json by name  getMsgNums  reqtime=${time}  token=${token}
    When getMsgNums  ${time}

buisness_004
    [Tags]  底部
    [Documentation]  获取今日收入数据
    ${time} =  get time stamp
    update test data req json by name  getMsgNums  reqtime=${time}  token=${token}
    When getMsgNums  ${time}

buisness_005
    [Tags]  其他
    [Documentation]  获取商户未读信息
    ${time} =  get time stamp
    update test data req json by name  getCountNoRead  token=${token}
    When getCountNoRead  ${time}


